github.com/google/go-cmp/cmp.textWrap.Suffix (field)
23 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L172: out = &textWrap{Prefix: "Inverse(" + v.TransformerName + ", ", Value: out, Suffix: ")"}
report_compare.go#L274: return &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_compare.go#L404: return &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_references.go#L102: out := &textWrap{Prefix: "(", Value: textEllipsis, Suffix: ")"}
report_reflect.go#L99: hasParens := strings.HasPrefix(s2.Prefix, "(") && strings.HasSuffix(s2.Suffix, ")")
report_reflect.go#L100: hasBraces := strings.HasPrefix(s2.Prefix, "{") && strings.HasSuffix(s2.Suffix, "}")
report_reflect.go#L106: refNode.Value = &textWrap{Prefix: "(", Value: refNode.Value, Suffix: ")"}
report_reflect.go#L109: return &textWrap{Prefix: "(", Value: s, Suffix: ")"}
report_reflect.go#L208: return &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_reflect.go#L242: out = &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_reflect.go#L276: out = &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_reflect.go#L347: return &textWrap{Prefix: "(", Value: list, Suffix: ")"}
report_slices.go#L235: var out textNode = &textWrap{Prefix: "(", Value: list2, Suffix: ")"}
report_slices.go#L321: var out textNode = &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_slices.go#L332: out = &textWrap{Prefix: "strings.Join(", Value: out, Suffix: fmt.Sprintf(", %q)", delim)}
report_slices.go#L337: out = &textWrap{Prefix: "bytes.Join(", Value: out, Suffix: fmt.Sprintf(", %q)", delim)}
report_text.go#L99: Suffix string // e.g., "}"
report_text.go#L104: return len(s.Prefix) + s.Value.Len() + len(s.Suffix)
report_text.go#L108: return s1.Prefix == s2.Prefix && s1.Value.Equal(s2.Value) && s1.Suffix == s2.Suffix
report_text.go#L125: b = append(b, s.Suffix...)
report_text.go#L134: b = append(b, s.Suffix...)
report_text.go#L199: return (&textWrap{Prefix: "{", Value: s, Suffix: "}"}).String()